package com.cans;

import java.util.HashMap;
import java.util.Map;

/**
 * 上下文
 *
 * @author cans
 * @date 2022/5/14
 **/
public class Context {

    private final Map<String, Integer> params = new HashMap<>();

    public void put(String key, int value) {
        params.put(key, value);
    }

    public int getParam(String key) {
        return this.params.get(key);
    }

}
